//公共返回类型
export interface ResponseData{
    code:number,
    msg:string,
}
//食品信息类型
export interface FoodInfo{
    foodId:number,
    foodName:string,
    foodExplain:string,
    foodPrice:number,
    businessId:number,
    remarks:string,
}
export interface CartInfo{
    cartId:number,
    foodId:number,
    businessId:number,
    userId:string,
    quantity:number
}
export type CartList=CartInfo[];
export interface CartListResponseData extends ResponseData{
    data:CartList;
}

//包含全部信息的商家类型
export type list=FoodInfo[];
//shop查询
export interface ShopQuery{
    userId:string,
    businessId:number,
}
export interface FoodResponseData extends ResponseData{
    data:list,
}
//新增shop表单
export interface ShopInfo {
    userId:string,
    businessId:number,
    foodId:number
}
//更新shop表单
export interface ShopUpdateData{
    userId:string,
    businessId:number,
    foodId:number,
    quantity:number
}
